<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_sn" class="form-control" name="row[order_sn]" type="text" value="{$row.order_sn|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_user_id" data-rule="required" data-source="shop/user/index" class="form-control selectpage" name="row[shop_user_id]" type="text" value="{$row.shop_user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Activity_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-activity_id" data-rule="required" data-source="activity/index" class="form-control selectpage" name="row[activity_id]" type="text" value="{$row.activity_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Buy_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-buy_num" data-rule="required" class="form-control" name="row[buy_num]" type="number" value="{$row.buy_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-money" class="form-control" step="0.001" name="row[money]" type="number" value="{$row.money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_money" data-rule="required" class="form-control" step="0.001" name="row[order_money]" type="number" value="{$row.order_money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Money_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-money_type" data-rule="required" class="form-control" name="row[money_type]" type="number" value="{$row.money_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_code" class="form-control" name="row[pay_code]" type="text" value="{$row.pay_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_name" class="form-control" name="row[pay_name]" type="text" value="{$row.pay_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Finish_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-finish_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[finish_time]" type="text" value="{:$row.finish_time?datetime($row.finish_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transaction_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transaction_id" data-rule="required" data-source="transaction/index" class="form-control selectpage" name="row[transaction_id]" type="text" value="{$row.transaction_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[pay_time]" type="text" value="{:$row.pay_time?datetime($row.pay_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_guamai')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_guamai" class="form-control" name="row[is_guamai]" type="number" value="{$row.is_guamai|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ok_gua_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ok_gua_money" class="form-control" step="0.0001" name="row[ok_gua_money]" type="number" value="{$row.ok_gua_money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_comment')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_comment" class="form-control" name="row[is_comment]" type="number" value="{$row.is_comment|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address_id" data-rule="required" data-source="address/index" class="form-control selectpage" name="row[address_id]" type="text" value="{$row.address_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_type" data-rule="required" class="form-control" name="row[order_type]" type="number" value="{$row.order_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tj_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tj_user_id" data-rule="required" data-source="tj/user/index" class="form-control selectpage" name="row[tj_user_id]" type="text" value="{$row.tj_user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Kuaidi_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-kuaidi_fee" class="form-control" step="0.01" name="row[kuaidi_fee]" type="number" value="{$row.kuaidi_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Kuaidi_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-kuaidi_name" class="form-control" name="row[kuaidi_name]" type="text" value="{$row.kuaidi_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Kuaidi_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-kuaidi_code" class="form-control" name="row[kuaidi_code]" type="text" value="{$row.kuaidi_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Kuaidi_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-kuaidi_number" class="form-control" name="row[kuaidi_number]" type="text" value="{$row.kuaidi_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hexiao_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hexiao_code" class="form-control" name="row[hexiao_code]" type="text" value="{$row.hexiao_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cost_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cost_price" class="form-control" step="0.01" name="row[cost_price]" type="number" value="{$row.cost_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_type2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_type2" class="form-control" name="row[pay_type2]" type="number" value="{$row.pay_type2|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Song_ywq')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-song_ywq" class="form-control" step="0.01" name="row[song_ywq]" type="number" value="{$row.song_ywq|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Song_ywq_minus')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-song_ywq_minus" class="form-control" step="0.01" name="row[song_ywq_minus]" type="number" value="{$row.song_ywq_minus|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shipping_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shipping_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[shipping_time]" type="text" value="{:$row.shipping_time?datetime($row.shipping_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Kuaidi_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-kuaidi_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[kuaidi_time]" type="text" value="{:$row.kuaidi_time?datetime($row.kuaidi_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Benefit_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-benefit_type" class="form-control selectpicker" name="row[benefit_type]">
                {foreach name="benefitTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.benefit_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_bb')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_bb" class="form-control" name="row[is_bb]" type="number" value="{$row.is_bb|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Leshua_order_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-leshua_order_id" data-rule="required" data-source="leshua/order/index" class="form-control selectpage" name="row[leshua_order_id]" type="text" value="{$row.leshua_order_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_account')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_account" class="form-control selectpicker" name="row[is_account]">
                {foreach name="isAccountList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_account"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_money_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_money_type" class="form-control" name="row[shop_money_type]" type="number" value="{$row.shop_money_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_vip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_vip" class="form-control" name="row[is_vip]" type="number" value="{$row.is_vip|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Merchant_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-merchant_id" data-rule="required" data-source="merchant/index" class="form-control selectpage" name="row[merchant_id]" type="text" value="{$row.merchant_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Total_order_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_order_id" data-rule="required" data-source="total/order/index" class="form-control selectpage" name="row[total_order_id]" type="text" value="{$row.total_order_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_award')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_award" class="form-control selectpicker" name="row[is_award]">
                {foreach name="isAwardList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_award"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_uid" class="form-control" name="row[create_uid]" type="number" value="{$row.create_uid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Operat_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-operat_user_id" data-rule="required" data-source="operat/user/index" class="form-control selectpage" name="row[operat_user_id]" type="text" value="{$row.operat_user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
